]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Add a new style for .summary-source-button:focus
authorDebarshi Ray <debarshir@gnome.org>
Tue, 14 Aug 2012 18:55:41 +0000 (20:55 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 20 Aug 2012 01:15:48 +0000 (21:15 -0400)
We don't need .summary-source-button:selected because we are moving the
focus to the summary item when it is clicked and therefore it is always
focused.

https://bugzilla.gnome.org/show_bug.cgi?id=681519

data/theme/gnome-shell.css

index a502fa12934faceec77b911624e30d8043bfd9d1..5cca20298f6b50202756a111f6f2906e1fcdb8ca 100644 (file)
@@ -1400,17 +1400,16 @@ StButton.popup-menu-item:insensitive {
 }
 
 .summary-source-button {
+    border-radius: 4px;
     transition-duration: 100;
 }
 
 .summary-source-button:hover {
     background-color: rgba(255,255,255,0.1);
-    border-radius: 4px;
 }
 
-.summary-source-button:selected {
-    background-image: url("running-indicator.svg");
-    background-size: contain;
+.summary-source-button:focus {
+    background-color: rgba(255,255,255,0.33);
 }
 
 .summary-source {